package com.threaddemo1;

public class ThreadTest1 {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            ThreadDemo1 t1 = new ThreadDemo1();
            t1.num = i;
            //t1.run();
            t1.start();
        }
    }
}
